<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui">
	<ui:composition template="/templates/padraoJSF.xhtml">
		<ui:define name="barraTitulo">Professor</ui:define>
		<ui:define name="conteudo">
			<fieldset>
				<p:tabView>
					<p:tab title="Cadastro">
						<h:form>
							<h:panelGrid columns="2" columnClasses="width30 alinhaDir">
								<h:column>
									<h:outputLabel value="CPF:"/>
								</h:column>
								<h:column>
									<h:inputText id="CPF" size="18" maxlength="18" value="#{controleProfessor.professor.pessoa.CPF}" alt="CPF" styleClass="upper"/>
									<p:commandLink action="#{controleProfessor.pesquisaProfessorCPF}" update="idPanelGrid" styleClass="upper">
										<h:graphicImage url="/images/botoes/btnPesquisar.png" styleClass="iconesLaterais" />
									</p:commandLink>
								</h:column>
							</h:panelGrid>
						</h:form>
						<h:panelGrid id="idPanelGrid">
							<h:form id="form" rendered="#{controleProfessor.bControleTelaCPF}">
								<p:growl id="messages"/>
								<h:panelGrid columns="2" columnClasses="width30 alinhaDir">
										<h:outputLabel value="Matricula:" />
										<h:outputText value="#{controleProfessor.professor.matricula}" />
										<h:outputLabel value="Nome:" />
										<h:outputText value="#{controleProfessor.professor.pessoa.nome}" />
								</h:panelGrid>
								<p:tabView id="tabView">
									<p:tab title="Informa&ccedil;&otilde;es">
										<fieldset>
											<h:panelGrid columns="2" columnClasses="alinhaDir">			
												<h:column>
												</h:column>
												<h:column>
													<h:outputText value="Os campos com asterisco (*) s&atilde;o de preenchimento obrigat&oacute;rio." styleClass="campoObrigatorio" />
												</h:column>
												<h:column>
													<h:outputLabel value="Matr&iacute;cula:" />
												</h:column>
												<h:column>
												<h:inputText id="matricula" size="18" maxlength="18" value="#{controleProfessor.professor.matricula}" requiredMessage="Campo [MATR&Iacute;CULA] obrigat&oacute;rio" required="true"/>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>										
												<h:column>
													<h:outputLabel value="Data de Admiss&atilde;o:" />
												</h:column>
												<h:column>
													<p:calendar value="#{controleProfessor.professor.dataAdmissao}" mode="popup" pattern="dd/MM/yyyy" requiredMessage="Campo [DATA DE ADMISS&Atilde;O] obrigat&oacute;rio" required="true" />&nbsp;
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column >
													<h:outputLabel value="Titula&ccedil;&atilde;o:" styleClass="select" />
												</h:column>
												<h:column >
													<h:selectOneMenu value="#{controleProfessor.professor.titulacao}" >
													  	<f:selectItem itemLabel="selecione" itemValue="#{controleProfessor.titulacaoSelecione}"/>
									                    <f:selectItems value="#{controleProfessor.titulacoes}" var="titulacao" itemLabel="#{titulacao.descricao}" itemValue="#{titulacao}"/>
									                    <f:converter converterId="converteTitulacao"/>
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />
												</h:column>								
												<h:column>
													<h:outputLabel value="Login:" styleClass=""/>							
												</h:column>
												<h:column> 
													<h:inputText  value="#{controleProfessor.professor.login}" requiredMessage="Campo [LOGIN] obrigat&oacute;rio" size="100"/>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />
												</h:column>
												<h:column>
													<h:outputLabel value="Senha:" styleClass=""/>
												</h:column>
												<h:column>
													<p:password minLength="6" value="#{controleProfessor.professor.senha}" styleClass="textfield" size="30"
														promptLabel="Digite uma senha segura" 
														goodLabel="Boa" 
														weakLabel="Razo&aacute;vel" 
														trongLabel="Excelente"
														strongLabel="Forte" />  
													<h:outputText value="(*)" styleClass="campoObrigatorio" />							
												</h:column>
												<h:column>
													<h:outputLabel value="Ativo:"/>
												</h:column>
												<h:column >
													<h:selectBooleanCheckbox value="#{controleProfessor.professor.ativo}"/>									
												</h:column>
												<h:column>
													<h:outputLabel value="Link Lattes:" />
												</h:column>
												<h:column>
													<h:inputText size="100" maxlength="100" value="#{controleProfessor.professor.lattes}" requiredMessage="Campo [LATTES] obrigat&oacute;rio" required="true"/>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>																		
											</h:panelGrid>
										</fieldset>
									</p:tab>
									<p:tab title="Dados Pessoais">
										<fieldset>
											<h:panelGrid columns="2" columnClasses="alinhaDir">
												<h:column>
												</h:column>
												<h:column>
													<h:outputText value="Os campos com asterisco (*) s&atilde;o de preenchimento obrigat&oacute;rio." styleClass="campoObrigatorio" />
												</h:column>										
												<h:column>
													<h:outputLabel value="RG:" />
												</h:column>
												<h:column>
													<h:inputText id="numeroRG" size="30" maxlength="30" value="#{controleProfessor.professor.pessoa.rg.numeroRG}" requiredMessage="Campo [RG] obrigat&oacute;rio" required="true" styleClass="upper" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>										
												<h:column>
													<h:outputLabel value="&Oacute;rg&atilde;o Emissor:" />
												</h:column>
												<h:column>
													<h:inputText id="orgaoEmissorRG" size="5" maxlength="5" value="#{controleProfessor.professor.pessoa.rg.orgaoEmissorRG}" requiredMessage="Campo [&Oacute;RG&Atilde;O EMISSOR] obrigat&oacute;rio" required="true" styleClass="upper" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="UF:" />&nbsp;
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.rg.UFRG}" requiredMessage="Campo [UF do RG] obrigat&oacute;rio" required="true" >  
									                    <f:selectItems value="#{controleProfessor.UFS}" var="UF" itemLabel="#{UF}" itemValue="#{UF}" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="Data de Emiss&atilde;o:" />&nbsp;
													<p:calendar value="#{controleProfessor.professor.pessoa.rg.dataEmissaoRG}" mode="popup" pattern="dd/MM/yyyy" requiredMessage="Campo [DATA DE EMISS&Atilde;O DO RG] obrigat&oacute;rio" required="true" />&nbsp;
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column>
													<h:outputLabel value="Nome:" />
												</h:column>
												<h:column>
													<h:inputText id="nome" size="80" maxlength="100" value="#{controleProfessor.professor.pessoa.nome}" requiredMessage="Campo [NOME] obrigat&oacute;rio" required="true" styleClass="upper" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>													
												<h:column>
													<h:outputLabel value="Telefone:" />
												</h:column>
												<h:column>
													<p:inputMask id="telefone" size="14" mask="(99) 9999-9999" maxlength="14" value="#{controleProfessor.professor.pessoa.telefone}" requiredMessage="Campo [TELEFONE] obrigat&oacute;rio" required="true" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="Celular:" />&nbsp;
													<p:inputMask id="celular" size="14" mask="(99) 9999-9999" maxlength="14" value="#{controleProfessor.professor.pessoa.celular}" alt="phone" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="Email:" />&nbsp;
													<h:inputText id="email" size="50" maxlength="50" value="#{controleProfessor.professor.pessoa.email}" class="lower" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>		
												<h:column>
													<h:outputLabel value="Sexo:" />
												</h:column>
												<h:column>
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.sexo}">  
									                    <f:selectItems value="#{controleProfessor.sexos}" var="sexo" itemLabel="#{sexo}" itemValue="#{sexo}" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													
													<h:outputLabel value="Data de Nascimento:" />&nbsp;
													<p:calendar value="#{controleProfessor.professor.pessoa.dataNascimento}" mode="popup" pattern="dd/MM/yyyy" requiredMessage="Campo [DATA DE NASCIMENTO] obrigat&oacute;rio" required="true" />&nbsp;
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>														
												<h:column>
													<h:outputLabel value="Estado Civil:" />
												</h:column>
												<h:column>
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.estadoCivil}" requiredMessage="Campo [ESTADO CIVIL] obrigat&oacute;rio" required="true" >  
									                    <f:selectItems value="#{controleProfessor.estadoCivis}" var="estadoCivil" itemLabel="#{estadoCivil}" itemValue="#{estadoCivil}"   />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													
													<h:outputLabel value="Nacionalidade:" />&nbsp;
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.nacionalidade}" requiredMessage="Campo [NACIONALIDADE] obrigat&oacute;rio" required="true" >  
									                    <f:selectItems value="#{controleProfessor.nacionalidades}" var="nacionalidade" itemLabel="#{nacionalidade}" itemValue="#{nacionalidade}" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													
													<h:outputLabel value="Naturalidade:" />&nbsp;
													<h:inputText id="naturalidade" size="9" maxlength="100" value="#{controleProfessor.professor.pessoa.naturalidade}" requiredMessage="Campo [NATURALIDADE] obrigat&oacute;rio" required="true" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													
													<h:outputLabel value="UF:" />&nbsp;
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.UFNaturalidade}">  
									                    <f:selectItems value="#{controleProfessor.UFS}" var="UFNaturalidade" itemLabel="#{UFNaturalidade}" itemValue="#{UFNaturalidade}" requiredMessage="Campo [ UF NATURALIDADE] obrigat&oacute;rio" required="true" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>													
												<h:column>
													<h:outputLabel value="Pai:" />
												</h:column>
												<h:column>
													<h:inputText id="nomePai" size="80" maxlength="100" value="#{controleProfessor.professor.pessoa.nomePai}" styleClass="upper" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column>
													<h:outputLabel value="M&atilde;e:" />
												</h:column>
												<h:column>													
													<h:inputText id="nomeMae" size="80" maxlength="100" value="#{controleProfessor.professor.pessoa.nomeMae}" requiredMessage="Campo [M&Atilde;E] obrigat&oacute;rio" required="true"  styleClass="upper" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
											</h:panelGrid>
										</fieldset>
									</p:tab>
									<p:tab title="Endere&ccedil;o">
										<fieldset>
											<h:panelGrid columns="2" columnClasses="alinhaDir">
												<h:column>
												</h:column>
												<h:column>
													<h:outputText value="Os campos com asterisco (*) s&atilde;o de preenchimento obrigat&oacute;rio." styleClass="campoObrigatorio" />
												</h:column>
												<h:column>
													<h:outputLabel value="CEP" />
												</h:column>
												<h:column>
													<p:inputMask id="CEP" size="12" mask="99999-999" maxlength="9" value="#{controleProfessor.professor.pessoa.endereco.CEP}" requiredMessage="Campo [CEP] obrigat&oacute;rio" required="true"/>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column>
													<h:outputLabel value="Endere&ccedil;o:" />
												</h:column>
												<h:column>
													<h:inputText id="logradouro" size="50" maxlength="100" value="#{controleProfessor.professor.pessoa.endereco.logradouro}" requiredMessage="Campo [ENDERE&Ccedil;O] obrigat&oacute;rio" required="true" class="upper" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="N&uacute;mero:" />
													<h:inputText id="numero" size="10" maxlength="10" value="#{controleProfessor.professor.pessoa.endereco.numero}" requiredMessage="Campo [N&Uacute;MERO] obrigat&oacute;rio" required="true" class="upper" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column>
													<h:outputLabel value="Complemento:" />
												</h:column>
												<h:column>
													<h:inputText id="complemento" size="100" maxlength="50" value="#{controleProfessor.professor.pessoa.endereco.complemento}" class="upper" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>	
												<h:column>
													<h:outputLabel value="Bairro:" />
												</h:column>
												<h:column>
													<h:inputText id="bairro" size="100" maxlength="100" value="#{controleProfessor.professor.pessoa.endereco.bairro}" requiredMessage="Campo [BAIRRO] obrigat&oacute;rio" required="true" class="upper" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>	
												<h:column>
													<h:outputLabel value="Cidade:" />
												</h:column>
												<h:column>
													<h:inputText id="cidade" size="86" maxlength="100" value="#{controleProfessor.professor.pessoa.endereco.cidade}" requiredMessage="Campo [CIDADE] obrigat&oacute;rio" required="true" class="upper" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="UF:" />
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.endereco.UF}" requiredMessage="Campo [UF] obrigat&oacute;rio" required="true" >  
									                    <f:selectItems value="#{controleProfessor.UFS}" var="UF" itemLabel="#{UF}" itemValue="#{UF}" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>	
											</h:panelGrid>
										</fieldset>
									</p:tab>
									<p:tab title="Documentos">
										<fieldset>
											<h:panelGrid columns="2" columnClasses="alinhaDir">
												<h:column>
												</h:column>
												<h:column>
													<h:outputText value="Os campos com asterisco (*) s&atilde;o de preenchimento obrigat&oacute;rio." styleClass="campoObrigatorio" />
												</h:column>
												<h:column>
													<h:outputLabel value="T&iacute;tulo de Eleitor:" />
												</h:column>
												<h:column>
													<h:inputText id="numeroTitulo" size="20" maxlength="20" value="#{controleProfessor.professor.pessoa.tituloEleitor.numeroTitulo}" requiredMessage="Campo [N&Uacute;MERO DO T&Iacute;TULO] obrigat&oacute;rio" required="true" alt="number" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													
													<h:outputLabel value="Zona:" />&nbsp;
													<h:inputText id="zona" size="5" maxlength="5" value="#{controleProfessor.professor.pessoa.tituloEleitor.zona}" requiredMessage="Campo [ZONA] obrigat&oacute;rio" required="true"/>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
				
													<h:outputLabel value="Se&ccedil;&atilde;o:" />&nbsp;
													<h:inputText id="secao" size="5" maxlength="5" value="#{controleProfessor.professor.pessoa.tituloEleitor.secao}" requiredMessage="Campo [SE&Ccedil;&Atilde;O] obrigat&oacute;rio" required="true"/>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
				
													<h:outputLabel value="Data de Emiss&atilde;o:" />&nbsp;
													<p:calendar value="#{controleProfessor.professor.pessoa.tituloEleitor.dataEmissaoTituloEleitor}" mode="popup" pattern="dd/MM/yyyy" requiredMessage="Campo [DATA DE EMISS&Atilde;O DO T&Iacute;TULO DE ELEITOR] obrigat&oacute;rio" required="true"/>&nbsp;
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column>
													<h:outputLabel value="Cidade:" />
												</h:column>
												<h:column>
													<h:inputText id="cidadeTitulo" size="86" maxlength="100" value="#{controleProfessor.professor.pessoa.tituloEleitor.cidadeTitulo}" requiredMessage="Campo [CIDADE DO T&Iacute;TULO DE ELEITOR] obrigat&oacute;rio" required="true"/>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="UF:" />&nbsp;
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.tituloEleitor.UFTitulo}" requiredMessage="Campo [UF DO T&Iacute;TULO DE ELEITOR] obrigat&oacute;rio" required="true" >  
									                    <f:selectItems value="#{controleProfessor.UFS}" var="UF" itemLabel="#{UF}" itemValue="#{UF}" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column>
													<h:outputLabel value="Reservista:" />
												</h:column>
												<h:column>
													<h:inputText id="numeroReservista" size="15" maxlength="30" value="#{controleProfessor.professor.pessoa.reservista.numeroReservista}" alt="number" />
												</h:column>
												<h:column>
													<h:outputLabel value="&Oacute;rg&atilde;o Emissor:" />
												</h:column>
												<h:column>
													<h:inputText id="orgaoEmissorReservista" size="10" maxlength="50" value="#{controleProfessor.professor.pessoa.reservista.orgaoEmissorReservista}" />
													<h:outputLabel value="S&eacute;rie:" />&nbsp;
													<h:inputText id="serieReservista" size="20" maxlength="20" value="#{controleProfessor.professor.pessoa.reservista.serieReservista}" alt="number" />
												</h:column>
												<h:column>
													<h:outputLabel value="Pele:" />
												</h:column>
												<h:column>
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.pele}" id="pele">  
									                    <f:selectItems value="#{controleProfessor.peles}" var="pele" itemLabel="#{pele}" itemValue="#{pele}" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column>
													<h:outputLabel value="Defici&ecirc;cia:" />
												</h:column>
												<h:column>
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.deficiencia}" id="deficiencia">  
									                    <f:selectItems value="#{controleProfessor.deficiencias}" var="deficiencia" itemLabel="#{deficiencia}" itemValue="#{deficiencia}" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
											</h:panelGrid>
										</fieldset>
									</p:tab>
									<p:tab title="Ensino">
										<fieldset>
											<legend>Ensino Fundamental</legend>
											<h:panelGrid columns="2" columnClasses="alinhaDir">			
												<h:column>
												</h:column>
												<h:column>
													<h:outputText value="Os campos com asterisco (*) s&atilde;o de preenchimento obrigat&oacute;rio." styleClass="campoObrigatorio" />
												</h:column>
												<h:column>
													<h:outputLabel value="Institui&ccedil;&atilde;o:" />
												</h:column>
												<h:column>
													<h:inputText id="instituicaoEnsinoFundamental" size="60" maxlength="100" class="upper" value="#{controleProfessor.professor.pessoa.instituicaoEnsinoFundamental.nomeInstituicaoEnsinoFundamental}" requiredMessage="Campo [INSTITUI&Ccedil;&Atilde;O DE ENSINO FUNDAMENTAL] obrigat&oacute;rio" required="true" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="Ano de Conclus&atilde;o:" />&nbsp;
													<h:inputText id="anoInstituicaoEnsinoFundamental" size="4" maxlength="4" value="#{controleProfessor.professor.pessoa.instituicaoEnsinoFundamental.anoInstituicaoEnsinoFundamental}" alt="number" requiredMessage="Campo [ANO INSTITUI&Ccedil;&Atilde;O DE ENSINO FUNDAMENTAL] obrigat&oacute;rio" required="true" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column>
													<h:outputLabel value="Cidade:" />
												</h:column>
												<h:column>
													<h:inputText id="cidadeInstituicaoEnsinoFundamental" size="30" maxlength="30" class="upper" value="#{controleProfessor.professor.pessoa.instituicaoEnsinoFundamental.cidadeInstituicaoEnsinoFundamental}" requiredMessage="Campo [CIDADE DA INSTITUI&Ccedil;&Atilde;O DE ENSINO FUNDAMENTAL] obrigat&oacute;rio" required="true" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="UF:" />&nbsp;
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.instituicaoEnsinoFundamental.UFInstituicaoEnsinoFundamental}" requiredMessage="Campo [UF DA INSTITUI&Ccedil;&Atilde;O DE ENSINO FUNDAMENTAL] obrigat&oacute;rio" required="true">  
									                    <f:selectItems value="#{controleProfessor.UFS}" var="UF" itemLabel="#{UF}" itemValue="#{UF}" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>										
											</h:panelGrid>
										</fieldset>
										<fieldset>
											<legend>Ensino M&eacute;dio</legend>
											<h:panelGrid columns="2" columnClasses="alinhaDir">
												<h:column>
												</h:column>
												<h:column>
													<h:outputText value="" styleClass="campoObrigatorio" />
												</h:column>
												<h:column>
													<h:outputLabel value="Institui&ccedil;&atilde;o:" />
												</h:column>
												<h:column>
													<h:inputText id="instituicaoEnsinoMedio" size="60" maxlength="100" class="upper" value="#{controleProfessor.professor.pessoa.instituicaoEnsinoMedio.nomeInstituicaoEnsinoMedio}" requiredMessage="Campo [INSTITUI&Ccedil;&Atilde;O DE ENSINO M&Eacute;DIO] obrigat&oacute;rio" required="true"/>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="Ano de Conclus&atilde;o:" />&nbsp;
													<h:inputText id="anoInstituicaoEnsinoMedio" size="4" maxlength="4" value="#{controleProfessor.professor.pessoa.instituicaoEnsinoMedio.anoInstituicaoEnsinoMedio}" alt="number" requiredMessage="Campo [ANO DA INSTITUI&Ccedil;&Atilde;O DE ENSINO M&Eacute;DIO] obrigat&oacute;rio" required="true"/>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column>
													<h:outputLabel value="Cidade:" />
												</h:column>
												<h:column>
													<h:inputText id="cidadeInstituicaoEnsinoMedio" size="30" maxlength="30" class="upper" value="#{controleProfessor.professor.pessoa.instituicaoEnsinoMedio.cidadeInstituicaoEnsinoMedio}" requiredMessage="Campo [CIDADE DA INSTITUI&Ccedil;&Atilde;O DE ENSINO M&Eacute;DIO] obrigat&oacute;rio" required="true"/>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="UF:" />&nbsp;
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.instituicaoEnsinoMedio.UFInstituicaoEnsinoMedio}" requiredMessage="Campo [UF DA INSTITUI&Ccedil;&Atilde;O DE ENSINO M&Eacute;DIO] obrigat&oacute;rio" required="true">  
									                    <f:selectItems value="#{controleProfessor.UFS}" var="UF" itemLabel="#{UF}" itemValue="#{UF}" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>										
											</h:panelGrid>
										</fieldset>
										<fieldset>
											<legend>Ensino Superior</legend>
											<h:panelGrid columns="2" columnClasses="alinhaDir">
												<h:column>
												</h:column>
												<h:column>
													<h:outputText value="" styleClass="campoObrigatorio" />
												</h:column>
												<h:column>
													<h:outputLabel value="Institui&ccedil;&atilde;o:" />
												</h:column>
												<h:column>
													<h:inputText id="instituicaoEnsinoSuperior" size="60" maxlength="100" class="upper" value="#{controleProfessor.professor.pessoa.instituicaoEnsinoSuperior.nomeInstituicaoEnsinoSuperior}" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="Ano de Conclus&atilde;o:" />&nbsp;
													<h:inputText id="anoInstituicaoEnsinoSuperior" size="4" maxlength="4" value="#{controleProfessor.professor.pessoa.instituicaoEnsinoSuperior.anoInstituicaoEnsinoSuperior}" alt="number" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>
												<h:column>
													<h:outputLabel value="Cidade:" />
												</h:column>
												<h:column>
													<h:inputText id="cidadeInstituicaoEnsinoSuperior" size="30" maxlength="30" class="upper" value="#{controleProfessor.professor.pessoa.instituicaoEnsinoSuperior.cidadeInstituicaoEnsinoSuperior}" />
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
													<h:outputLabel value="UF:" />&nbsp;
													<h:selectOneMenu value="#{controleProfessor.professor.pessoa.instituicaoEnsinoSuperior.UFInstituicaoEnsinoSuperior}">  
									                    <f:selectItems value="#{controleProfessor.UFS}" var="UF" itemLabel="#{UF}" itemValue="#{UF}" />
													</h:selectOneMenu>
													<h:outputText value="(*)" styleClass="campoObrigatorio" />&nbsp;
												</h:column>										
											</h:panelGrid>
										</fieldset>
									</p:tab>
								</p:tabView>
								<h:outputLink value="manutencao.jsf">
									<h:graphicImage url="/images/botoes/btnPesquisar.png" class="btnAcoes" />
								</h:outputLink>
								<h:commandLink action="#{controleProfessor.gravar}" styleClass="alinhaDir">
									<h:graphicImage url="/images/botoes/btnGravar.png" class="btnAcoes"/>
								</h:commandLink>								
							</h:form>
						</h:panelGrid>
					</p:tab>
				</p:tabView>
			</fieldset>
		</ui:define>
	</ui:composition>
</html>